﻿namespace LeRenard.Core.Cryptography
{
    /// <summary>
    /// Defines a decryptor.
    /// </summary>
    public interface IDecryptor
    {
        /// <summary>
        /// Decrypts the specified input.
        /// </summary>
        /// <param name="input">The input to be decrypted.</param>
        /// <returns>The base64 string input to it's decrypted form.</returns>
        string Decrypt(string input);

        /// <summary>
        /// Decrypts the specified input.
        /// </summary>
        /// <param name="input">The input to be decrypted.</param>
        /// <returns>The base64 string input to it's decrypted form.</returns>
        string Decrypt(byte[] input);
    }
}
